package com.shensi.adminCollect.domain.fleet;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.shensi.adminCollect.common.annotation.Excel;

import java.math.BigDecimal;
import java.util.Date;

public class FleetCardSub {
    private static final long serialVersionUID = 1L;

    public static final Integer WAIT_REVIEW = 1;
    public static final Integer REVIEW_PASS = 2;
    public static final Integer REVIEW_NOT_PASS = 3;

    /** id */
    private Long id;

    /** 油企id */
    @Excel(name = "油企id")
    private Long enterpriseId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long appUserId;

    /** 主卡id */
    @Excel(name = "主卡id")
    private Long fleetCardId;

    /** 卡号 */
    @Excel(name = "卡号")
    private String cardNumber;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 余额 */
    @Excel(name = "余额")
    private BigDecimal balance;

    /** 消费金额 */
    @Excel(name = "消费金额")
    private BigDecimal spendAmount;


    /** 状态(1:待审核 2:审核通过 3:审核不通过) */
    @Excel(name = "状态")
    private Integer status;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedTime;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createdBy;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updatedBy;

    /** 删除标志 */
    @Excel(name = "删除标志")
    private Long del;

    /**
     * 手机号
     */
    @Excel(name = "手机号")
    private String phone;

    /**
     * 车牌号
     */
    @Excel(name = "车牌号")
    private String truckNumber;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getEnterpriseId() {
        return enterpriseId;
    }

    public void setEnterpriseId(Long enterpriseId) {
        this.enterpriseId = enterpriseId;
    }

    public Long getAppUserId() {
        return appUserId;
    }

    public void setAppUserId(Long appUserId) {
        this.appUserId = appUserId;
    }

    public Long getFleetCardId() {
        return fleetCardId;
    }

    public void setFleetCardId(Long fleetCardId) {
        this.fleetCardId = fleetCardId;
    }

    public String getCardNumber() {
        return cardNumber;
    }

    public void setCardNumber(String cardNumber) {
        this.cardNumber = cardNumber;
    }

    public BigDecimal getBalance() {
        return balance;
    }

    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }

    public BigDecimal getSpendAmount() {
        return spendAmount;
    }

    public void setSpendAmount(BigDecimal spendAmount) {
        this.spendAmount = spendAmount;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Date getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public String getUpdatedBy() {
        return updatedBy;
    }

    public void setUpdatedBy(String updatedBy) {
        this.updatedBy = updatedBy;
    }

    public Long getDel() {
        return del;
    }

    public void setDel(Long del) {
        this.del = del;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getTruckNumber() {
        return truckNumber;
    }

    public void setTruckNumber(String truckNumber) {
        this.truckNumber = truckNumber;
    }
}
